package com.youdoneed.community.forum.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.youdoneed.community.forum.entity.Forummessagelabel;
import com.youdoneed.community.forum.entity.Forumuserattentionmessagelabelrel;

/**
 * 个人关注标签记录dao层
 * @author lid
 * @date 2017.6.15
 */
@Mapper
public interface ForumuserattentionmessagelabelrelMapper {
    int deleteByPrimaryKey(String forumUserAttentionMessageLabelRelId);

    int insert(Forumuserattentionmessagelabelrel record);

    int insertSelective(Forumuserattentionmessagelabelrel record);

    Forumuserattentionmessagelabelrel selectByPrimaryKey(String forumUserAttentionMessageLabelRelId);

    int updateByPrimaryKeySelective(Forumuserattentionmessagelabelrel record);

    int updateByPrimaryKey(Forumuserattentionmessagelabelrel record);
    
    List<Forummessagelabel> getUserAttentionLabelsByUserId(String userId);
}